home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 32 / hackmisc.zip / HACK.DOC < prev    next >
Text File  |  1986-04-05  |  22KB  |  595 lines

  1.  
  2.  
  3.  
  4.  
  5.                   PC HACK version 3.4 for MSDOS(tm) computers
  6.                   -------------------------------------------
  7.  
  8.                              by Don Kneller
  9.                                 2 Panoramic Way #204
  10.                                 Berkeley, CA 94704
  11.                                 April 1, 1986
  12.  
  13.  
  14.   Introduction
  15.   ------------
  16.  
  17.        HACK is a display oriented dungeons and dragons type game.  It is
  18.   similar in style to ROGUE played on UNIX(tm) systems but HACK is much
  19.   richer in character.  HACK has many more monsters and highly varied magic.
  20.   The motivation in HACK is to descend through the dungeon to find the Amulet
  21.   of Yendor, then return to the surface.  As you travel you will meet various
  22.   creatures (most of them nasty), find objects (some having magical proper-
  23.   ties), and experience many hazards in the dungeon itself.
  24.  
  25.        PC HACK is the MSDOS version of UNIX HACK which was originally written
  26.   by Jay Fenlason (Jay the Hacker), then heavily modified by people at the
  27.   Stichting Mathematisch Centrum in Amsterdam.  This MSDOS version is called
  28.   PC HACK 3.4.  When you are playing PC HACK, the `v' command will display
  29.   the version number.
  30.  
  31.        For those who have played HACK on UNIX, this is a complete version
  32.   1.03 with a few enhancements:
  33.  
  34.        1) You can specify the characters used to draw the dungeon instead of
  35.           the -|+#.  See the GRAPHICS variable below.
  36.  
  37.        2) If your computer is IBM BIOS compatible, the numeric keypad can be
  38.           used for moving as well as the usual "yuhjklbn" keys.  See the
  39.           option "IBMBIOS".
  40.  
  41.        3) New options available through the 'O' command.
  42.             "confirm"   If you try to hit tame or peaceful monsters (like
  43.                         your dog) PC HACK asks for confirmation.
  44.  
  45.             "silent"    You can turn off the bell for a quieter game.
  46.  
  47.             "sortpack"  Your pack can be sorted by object class (ie. all
  48.                         weapons will be displayed together).
  49.  
  50.             "packorder" The order to sort your pack in.
  51.  
  52.             "pickup"    You can change the option "pickup" so you look at
  53.                         what is below you rather than pick it up.  Handy for
  54.                         scare monster scrolls and avoiding picking up dead
  55.                         cockatrices.  Also handy for browsing in shops.
  56.  
  57.             "rawio"     If you can use this option on your computer you will
  58.                         get faster screen output and better input control.
  59.                         ========  WARNING ========
  60.                         This option may hang your computer !!  If this option
  61.                         causes your computer to hang, do not use it!  It is
  62.                         known that DEC Rainbows will hang with this option.
  63.                         ==========================
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.             "IBMBIOS"   If your computer is IBM BIOS compatible, you can use
  71.                         the numeric keypad for moving.
  72.  
  73.             "DECRainbow" If your computer is a DEC Rainbow, you *must*
  74.                         specify this option for character graphics to work!!
  75.  
  76.        4) Floppy, HardDisk and RAMdisk support.  *Complete* (I hope)
  77.           protection from disk full problems.  Version 3.4 is much smarter
  78.           about handling disks than previous PC HACK versions -- if your
  79.           RAMdisk gets filled, the old levels get swapped out.
  80.  
  81.        5) Configuration comes from a file instead of environment variables.
  82.           See HACK.CNF below.
  83.  
  84.        6) PC HACK uses the ANSI.SYS driver, making it quite portable between
  85.           MSDOS machines.
  86.  
  87.        7) Save files are portable between MSDOS machines.
  88.  
  89.        8) A few monsters have been changed slightly to test new features.  A
  90.           few commands have been added.
  91.  
  92.  
  93.   System requirements
  94.   -------------------
  95.  
  96.        To play PC HACK you need the following:
  97.  
  98.        1) MSDOS computer running MSDOS (or PCDOS) 2.0 or newer.
  99.  
  100.        2) The ANSI.SYS driver must be installed.  Your CONFIG.SYS file must
  101.           have a line like:
  102.                DEVICE = ANSI.SYS
  103.  
  104.        3) 320K ram or more.  Extra memory can be used as a RAMdisk.
  105.  
  106.        4) 2 or more 360K floppies or a HardDisk.
  107.  
  108.  
  109.   Changes from *all* previous versions of PC HACK:
  110.   ------------------------------------------------
  111.  
  112.        1) All PC HACK 3.4 bones and save files are incompatible with versions
  113.           older than 3.2 (this includes 1.01E, 1.03G and 3.0).  You should
  114.           remove your old files.
  115.  
  116.        2) PC HACK 3.4 uses time and date information in the game.  You should
  117.           set the time and date when you boot up MSDOS.
  118.  
  119.  
  120.   Commands new to PC HACK 3.4
  121.   ---------------------------
  122.  
  123.        ^A `abort'.  Certain commands like waiting, searching, opening a tin,
  124.           and digging can now be aborted.  Eg. if you do `20.' then see a
  125.           monster appear in the doorway, you can use ^A (control-A) to stop
  126.           your waiting.
  127.  
  128.        a  `again'.  Do the previous command again.  The apply command has
  129.           been moved to `A' to accommodate `again'.
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.        gG `g' takes the place of `f' which will be "fight until wounded".
  137.           Similarily, `G' takes the place of `F' which will be "fight to the
  138.           death".  Neither of the `fight' commands have been installed yet.
  139.  
  140.  
  141.   Commands new to PC HACK 3.0
  142.   ---------------------------
  143.  
  144.        e  'eat' now lets you eat something you're standing on; you no longer
  145.           have to be able to pick something up before you can eat it.
  146.  
  147.        I  selective inventories.  For example I= shows which rings you have
  148.           in your inventory.
  149.  
  150.        :  look at what you're standing on without picking it up.
  151.  
  152.        #  lets you enter an extended command.  The only ones are "dip" and
  153.           "pray".  Dip lets you put objects in potions.
  154.  
  155.        @  Toggles the "pickup" option so you don't have to do "O pickup" and
  156.           "O !pickup".
  157.  
  158.        !  Starts up another COMMAND.COM if you have enough memory and a valid
  159.           COMSPEC.
  160.  
  161.  
  162.   Configuration of PC HACK for your MSDOS computer
  163.   ------------------------------------------------
  164.  
  165.        The configuration of PC HACK is controlled by a configuration file
  166.   HACK.CNF.  This configuration file should be in the directory you are
  167.   playing from, or somewhere on the PATH.  When PC HACK starts up, it uses
  168.   the PATH to find HACK.CNF.
  169.  
  170.        The HACK.CNF file contains variables for configuring PC HACK to your
  171.   system.  The variables are:
  172.  
  173.  
  174.   HACKDIR
  175.   -------
  176.  
  177.   HACKDIR is the directory name of the place where all support files go.
  178.  
  179.        example:       HACKDIR=c:\games\hack
  180.  
  181.   The support files are:
  182.  
  183.        HELP       - A description of commands and options.
  184.        HH         - An abridged version of the above.
  185.        DATA       - Information about monsters and objects in the game.
  186.        RECORD     - The score file (it may start out empty, but it must
  187.                     exist).  The top score for each name and class are saved,
  188.                     but only the top 100 scores are kept.
  189.        RUMORS     - Fortune cookie hints (some are true, some are not).
  190.        
  191.        Put all these files in the directory HACKDIR.  If HACKDIR is not set,
  192.   the support files are assumed to be in the current directory.
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.   LEVELS
  203.   ------
  204.  
  205.   If the RAMDISK variable is not set, this is where the temporary dungeon
  206.   levels get made.  Also, this is the directory where some temporary dungeon
  207.   levels get left as bones files (a description of previous games).
  208.   
  209.        example:       LEVELS=C:\games\hack
  210.        default:       the HACKDIR directory
  211.   
  212.   This path can be absolute or relative to the HACKDIR directory.
  213.  
  214.  
  215.   SAVE
  216.   ----
  217.  
  218.   The directory where any saved games will be kept.
  219.   
  220.             example:       SAVE=save;n
  221.             default:       the HACKDIR directory
  222.  
  223.   If your player name is JOE, and the SAVE variable is save, then your saved
  224.   game will be in HACKDIR\save\joe.sav.
  225.  
  226.   If you append ";noprompt" or just ";n" to the name of the save path, the
  227.   program won't prompt you to insert the diskette used for saving.  This is
  228.   useful if you have a HardDisk (eg SAVE=;n means save the game in the
  229.   HACKDIR directory and don't prompt for diskette insertion).
  230.  
  231.  
  232.   RAMDISK
  233.   -------
  234.  
  235.   The drive and directory where your RAMdisk is.  This is where PC HACK
  236.   creates its temporary dungeon files.
  237.  
  238.        example:       RAMDISK=D:
  239.        default:       none
  240.  
  241.   When PC HACK runs out of storage on the RAMdisk it swaps the oldest files
  242.   out to your LEVELS directory.  A RAMdisk is very effective in speeding up
  243.   the game, especially for floppy-only systems.  To override the RAMDISK
  244.   variable, use the -R command line option (see below).
  245.  
  246.  
  247.   GRAPHICS
  248.   --------
  249.  
  250.   Rather than use -, |, +, # for drawing the dungeon you can use any
  251.   characters from the character set.  The GRAPHICS variable has 9 arguments
  252.   that describe the the rooms and corridors.  The arguments are all integers
  253.   in the range from 0 to 255 and correspond to the ASCII values of the
  254.   characters you want to use.  The order of the variables is:
  255.  
  256.        vertical wall, horizontal wall, top left corner, top right corner,
  257.        bottom left corner, bottom right corner, door, floor, corridor.
  258.  
  259.   The HACK.CNF file has examples of the use of this variable for both IBM
  260.   graphics characters and DEC Rainbow line-drawing characters.
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.        example:  GRAPHICS = 179 196 218 191 192 217 206 250 176
  269.        default:  decimal equivalents of:   | - - - - - + . #
  270.  
  271.   If you have a DEC Rainbow, you can use any characters from the ASCII
  272.   character set and from the "line-drawing character set".  To use the line-
  273.   drawing characters, take the decimal value of the character and add 128 to
  274.   it.  This makes the values of the line-drawing characters lie between
  275.   decimal 128 and 255 and tells PC HACK you want a line-drawing character.
  276.   See HACK.CNF for a GRAPHICS variable suitable for DECs.
  277.  
  278.   DEC Rainbow users must also have the DECRainbow option (see below) in the
  279.   OPTIONS line or the graphics characters will not be drawn correctly.
  280.  
  281.  
  282.   OPTIONS
  283.   -------
  284.   Determines many smaller aspects of the game.  Options can be set before the
  285.   game in the HACK.CNF file and most can be modified during the game with the
  286.   'O' command.  You can change several options at a time by separating the
  287.   options with commas.  Generally, 4 characters are sufficient to identify
  288.   the option, so 'O sort' is the same as 'O sortpack'.
  289.  
  290.   There are two kinds of options:
  291.  
  292.        1) BOOLEAN, which can be either TRUE or FALSE.
  293.           For example, "sortpack".  To turn it ON, do 'O sortpack' while
  294.           playing or have an "OPTIONS=sortpack" line in your HACK.CNF file.
  295.           To turn it OFF, do 'O !sortpack' or have "OPTIONS=!sortpack" in
  296.           your HACK.CNF file.
  297.  
  298.        2) COMPOUND, which have one or more values.
  299.           For example, "packorder".  To change the displayed ordering of the
  300.           pack you might do 'O pack:%)!?' or have an "OPTIONS=pack:%)!?" line
  301.           in your HACK.CNF file.  The compound option "name" can only be set
  302.           in your HACK.CNF file.  Also, "name" should not have any spaces in
  303.           it and will be truncated to 10 characters in the RECORD file.
  304.  
  305.   When playing, type 'O help<RETURN>' to get a little help on these options.
  306.   The HELP file has a short description of all options.
  307.  
  308.  
  309.   Options new to PC HACK 3.0
  310.   --------------------------
  311.  
  312.        confirm
  313.           Whether you want confirmation before hitting tame monsters.  This
  314.           can be very helpful if you have the problem that you hit your dog
  315.           and the shopkeepers by accident.  If you are blind or confused,
  316.           though, you don't get this protection!  By default, TRUE.
  317.  
  318.        silent
  319.           If TRUE, the bell is silent on input errors.  By default, FALSE.
  320.  
  321.        sortpack
  322.           Whether your pack should be ordered by object class when listed in
  323.           an inventory.  Otherwise your pack is listed alphabetically by
  324.           inventory letter.  By default, TRUE.
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.        packorder
  335.           The order to display your inventory in.  By default, ")[%?/=!(*0
  336.           To change the order, use 'O pack:<new order>' where <new order> is
  337.           a set of characters representing the various object types.  If you
  338.           don't give a character for each object type, the unspecified object
  339.           classes are put at the end of the <new order>.
  340.  
  341.        pickup
  342.           If FALSE, you look at things you step on without picking them up.
  343.           You always pick up gold if it is the only thing there.  Pickup is
  344.           toggled between TRUE and FALSE with the '@' key.  By default, TRUE.
  345.  
  346.        rawio
  347.           ==========  WARNING ==========
  348.           Some computers (notably DEC Rainbows) will hang if rawio is TRUE.
  349.           If this happens to your computer, remove the OPTIONS=rawio line in
  350.           the HACK.CNF file.  This option can *not* be set with the 'O'
  351.           command.  It must be set in the HACK.CNF file.
  352.           ==============================
  353.           
  354.           If TRUE, the input and output of your computer will be switched to
  355.           "raw" mode.  The advantage of this is faster output and better
  356.           handling of the special characters ^S and ^P.
  357.           
  358.           If FALSE, PC HACK will *not* put your terminal into "raw" mode.
  359.           This causes a problem with the ^P command.  When ^P is held until
  360.           it repeats, MSDOS may see a ^P in the input buffer and toggle
  361.           `output to printer'.  However, if the printer is not ready, you'll
  362.           get a DOS error about your printer.  If you get this error, type a
  363.           ^PrtSc, then `I' (ignore) the error.  You may have to repeat this
  364.           several times then use ^R to redraw the screen.  The "solution" is
  365.           not to hold down the ^P key.
  366.           
  367.           By default, FALSE.
  368.  
  369.        IBMBIOS  (only for very IBM compatible computers)
  370.           As HACK had its origins as a ROGUE-like game, the keys for movement
  371.           are the same (keys yuhjklbn).  Some people may prefer to use the
  372.           arrow keys on the numeric keypad.  Setting the IBMBIOS option TRUE
  373.           tells PC HACK it can use BIOS calls to access the numeric keypad.
  374.           
  375.           With Numlock *ENABLED* the translation from numeric pad keys to
  376.           game commands is:
  377.           
  378.                Numeric Pad               Command
  379.                  7  8  9  -        u+l(y)   up(k)    u+r(u)  move(m)
  380.                   \ | /                  \    |    /
  381.                  4 -5- 6  +       left(h)   go(g)  right(l)  pay(p)
  382.                   / | \                  /    |    \
  383.                  1  2  3           d+l(b)   down(j)  d+r(n)
  384.                Ins    Del      inventory(i)     wait(.)
  385.           
  386.           The letter in () is the corresponding game command letter. 'u+l'
  387.           means up and left.  The numeric pad '7' is translated to the game
  388.           command for moving one space up and left.  From the keyboard, you
  389.           would enter the command ^H (control-H) to run left until you see
  390.           something interesting.  From the keypad, doing `gh' (the keys 5
  391.           then 4) has the same effect.  With Shift the commands become:
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                        u+l(Y)  up(K)    u+r(U)    previous message(^P)
  401.                              \    |   /
  402.                       left(H)  nothing  right(L)  put on a ring (P)
  403.                              /    |   \
  404.                        d+l(B)  down(J)  d+r(N)
  405.           selective inventory(I)      look(;)
  406.  
  407.           Capital `H' means run left until you hit something.
  408.           
  409.           With NumLock *DISABLED*, shifted '5' does the go(g) and unshifted
  410.           '5' does nothing.  All other keys are translated the same.
  411.           
  412.           By default, FALSE.
  413.  
  414.        DECRainbow
  415.           This option must be set if your computer is a DEC Rainbow and you
  416.           want to use characters from the line-drawing character set to draw
  417.           the dungeon.  By default, FALSE.
  418.  
  419.  
  420.   Sample configurations
  421.   ---------------------
  422.  
  423.   Hard disk system:
  424.  
  425.        # Lines that start with `#' are comments.
  426.        # HACKDIR is where all the support files go.
  427.        HACKDIR=c:\games\hack
  428.        
  429.        # The `;n' means to not prompt for insertion of the save diskette.
  430.        SAVE=;n
  431.        RAMDISK=d:
  432.        OPTIONS=name:Bert-C, silent
  433.  
  434.   Notice that in this example, no LEVELS variable was set.  PC HACK will then
  435.   default to the same directory as HACKDIR.  Bert-C means your name is "Bert"
  436.   and you'll play as a cave-person.
  437.  
  438.   Two floppy systems:
  439.  
  440.   Make a bootable GAME disk (by using format /s) and set up your diskettes
  441.   as:
  442.        GAME DISK:     ANSI.SYS, CONFIG.SYS, HACK.EXE, HACK.CNF,
  443.                       RECORD, RUMORS
  444.                       (optionally) DATA, HELP, HH, AUTOEXEC.BAT
  445.        LEVELS DISK:   empty (or with previous bones files)
  446.  
  447.   And your variables as:
  448.  
  449.        LEVELS=b:\
  450.        SAVE=b:\
  451.        RAMDISK=c:     (optional)
  452.        OPTIONS=name:Gerty-T, silent, time
  453.  
  454.   Boot from the GAME disk in drive A whenever you want to play PC HACK.  The
  455.   save and level files will be on drive B.  You will be prompted to put in
  456.   the disk with the save file on it (even though it may already be in).  The
  457.   prompt is necessary because the save file may get too large to store on the
  458.   LEVELS disk.  When this happens you can give an alternative file name for
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.   the save file.  For this example, you could answer "A:GERTY.SAV" at the
  467.   prompt and PC HACK will look for "A:GERTY.SAV" rather than "B:\GERTY.SAV".
  468.  
  469.   *IMPORTANT NOTE*  In order to save a game, PC HACK must have access to the
  470.   save file and all the level files at the same time.  When restoring, only
  471.   after your save file has been properly restored will PC HACK remove it.
  472.  
  473.   If you want to keep saved games on different floppies (perhaps for several
  474.   players), use SAVE=a:\ and use additional floppies as SAVE DISKS.  When PC
  475.   HACK prompts you, remove the GAME DISK from drive A and put in the SAVE
  476.   DISK.  After restoring a game, at the prompt, put the GAME DISK in again.
  477.  
  478.  
  479.   Command line options
  480.   --------------------
  481.  
  482.        -u name or -uname
  483.           Specifies the name to use other than the value of the OPTIONS name.
  484.           If you wish, you can append -C, -W, -S, -F, -K, or -T to the name
  485.           to select the type of character you want to be.
  486.           
  487.                  or: A> hack -u Terminator-T
  488.           
  489.           This means you will play as a Tourist with the name Terminator.
  490.  
  491.        -C, -W, -S, -F, -K, or -T
  492.           Select the character you will be playing as.  Choices are:
  493.                Cave-person, Wizard, Spelunker, Fighter, Knight, or Tourist.
  494.           This option can be lower or upper case (except for -S).  Thus:
  495.           
  496.                  A> hack -T
  497.           
  498.           means get your name from the OPTIONS line in the HACK.CNF file, and
  499.           play as a tourist.  If PC HACK can't get your name from the
  500.           HACK.CNF file, you will be asked "Who are you?".
  501.  
  502.        -s [name]
  503.           List the scores of the person with this name.  If the name is not
  504.           given, uses the value of the OPTIONS name.  If the name is "all",
  505.           list all scores in the record file.  You can erase the contents of
  506.           the record file if you wish, but it should exist.
  507.  
  508.        -R
  509.           This tells PC HACK to ignore the RAMDISK variable in HACK.CNF.
  510.           This command is a hold-over from a previous version.
  511.  
  512.        Once you have started PC HACK, type a '?' to get help on the available
  513.   commands.  Long help will show you the HELP file, short help will show you
  514.   the HH file.  You can also print the HELP file and keep it as a reference.
  515.   Other useful commands are `/' to describe things you see on the screen
  516.   (uses the DATA file), and `\' to list the objects thus far discovered.
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.   If the dungeon collapses ....
  533.   -----------------------------
  534.  
  535.        On rare occasions PC HACK gets an error and quits with a collapsing
  536.   dungeon.  This may be due to a disk error or lack of enough memory (or,
  537.   perhaps a program bug).  Even though there may be "level.*" files left
  538.   behind, the game cannot be recovered because the information that was in
  539.   RAM is lost.  You can delete the old level.* files before playing a new
  540.   game, or PC HACK will do it for you next game.  However, if you do leave
  541.   the level.* files behind, PC HACK will void the next game you play, then
  542.   remove the old files.  You will then be able to play again.
  543.  
  544.        If you can find a way to consistently repeat the error, please let me
  545.   know so I fix it.
  546.  
  547.        
  548.  
  549.  
  550.   Finally
  551.   -------
  552.  
  553.        You are encouraged to copy this program and give it to your friends
  554.   and post it to BBS's.  If you repost PC HACK, please use the archiving
  555.   program `ARC' (version 4.30 or higher) to put all the PC HACK files in an
  556.   archive called PCHACK34.ARC.  If you want to report a bug in PC HACK, or
  557.   you just want to drop me a line with a suggestion, please let me know at
  558.   any of the following locations.  Make sure you mention which version you
  559.   are playing!
  560.  
  561.        UUCP:     ...ucbvax!ucsfcgl!kneller
  562.        ARPANET:  kneller@ucsf-cgl.ARPA
  563.        BITNET:   kneller@ucsfcgl.BITNET
  564.        FIDONET:  node 125/84 (SCI-Fido 415-655-0667)
  565.        
  566.        US MAIL:  Don Kneller
  567.                  2 Panoramic Way #204
  568.                  Berkeley, CA 94704
  569.  
  570.        
  571.        Good Luck and Happy Hacking !!
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.